package com.flower.dao;

import com.flower.pojo.Store;
import com.flower.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface AdminMapper {

    //查询


    public List<User> queryUserAll(Map<String, Object> map);

    @Select("select * from tb_store")
    List<Store> queryStoreAll1();

    List<Store> queryStoreAll(Map<String, Object> map);

    //    拉黑用户
    public int updateUserState(User user);

    //    拉黑商家
    public int updateStoreState(Store store);


}
